Skip to main content

Keyword Detection

Version Requirement

VersionFeature Status
>= 3.20Beta feature

Overview

Keyword detection policies enable the detection and redaction of specific keywords in user-provided inputs or model responses. These policies ensure protection against sensitive data leakage and can mitigate risks by enforcing customizable content controls.

Keywords

Keywords can include any alphanumeric word or phrase, with a maximum length of 5 words. Each keyword detection policy supports the recognition of multiple words or phrases. DynamoAI's keyword detection detects keywords across capitalization schemes and uses advanced fuzzy matching techniques to identify keywords even when they are slightly misspelled or formatted differently.

For example, the keyword "dynamo" will be flagged for all of the following inputs:

  • "dynamo"
  • "DYnAmO"
  • "dynaoo"

Keyword Detection Policy Actions

You can manage what happens to inputs and outputs with detecting keywords using the actions below:

  • Block: block content containing detected Keywords